import SimpleTankTest from "./SimpleTankTest";
import Sprite2DApplication from "../../src/spriteSystem/Sprite2DApplication";
import IShape_Event_Hittest_Draw_Test_Demo from "./IShape_Event_Hittest_Draw_Test_Demo";
import SkeletonPersonApplication from "./SkeletonPersonApplication";
import TankFollowBezierPathDemo from "./TankFollowBezierPathApplication";

export default class Main {
    // private _shapeDemo: IShape_Event_Hittest_Draw_Test_Demo;
    private _app: Sprite2DApplication;
    private _canvas: HTMLCanvasElement;
    // private _simpleTankTest: SimpleTankTest;
    // private _skeletonPersonApp: SkeletonPersonApplication;
    private _tankFollowBezierPathDemo: TankFollowBezierPathDemo;
    public constructor() {
        this._canvas = document.getElementById('canvas') as HTMLCanvasElement;
        this._app = new Sprite2DApplication(this._canvas, true);
        // this._simpleTankTest = new SimpleTankTest(this._app);
        // this._shapeDemo = new IShape_Event_Hittest_Draw_Test_Demo(this._app);
        // this._skeletonPersonApp = new SkeletonPersonApplication(this._app);

        this._tankFollowBezierPathDemo = new TankFollowBezierPathDemo(this._app);
    }
}